package org.lc.service.system.client.feign;


import org.lc.platform.base.result.Result;
import org.lc.service.system.client.error.FeignErrorDecoder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


@FeignClient(name = "lc-system", contextId = "MenuClient", configuration = FeignErrorDecoder.class)
public interface IMenuFeign {
    /**
     * 通过账号查询用户
     */
    @GetMapping("/feign/menu/complete/menu")
    Result<List<Object>> queryMenuListByClientId(@RequestParam("clientId") String clientId);
}
